﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Udisk u = new Udisk("金士顿");
            u.read();
            u.write();

            MobilDisk m = new MobilDisk("西部数据");
            m.read();
            m.write();

            Console.WriteLine();
            Conputer conputer = new Conputer("外星人");
            conputer.Usb1 = u;
            conputer.Usb2 = m;

            conputer.strat();
            
            conputer.Usb1.read();
            conputer.Usb1.write();

            conputer.Usb2.read();
            conputer.Usb2.write();

            conputer.end();
        }

    }
}
